package com.itdct.onflow.core.annotation

import kotlin.reflect.KClass


/**
 * @author Zhouwx
 * @date 2025/3/24 10:49:05
 * @version 1.0
 * @description 列关联信息，关联到其他字典
 */
@MustBeDocumented
@Retention(AnnotationRetention.RUNTIME)
@Target(AnnotationTarget.FIELD, AnnotationTarget.ANNOTATION_CLASS)
annotation class ColumnRelateDict(
    /**
     * 关联字典码
     */
    val dictCode: String = "",

    /**
     * 自动生成关联字段的后缀名，默认为Name，比如说clientType，会生成clientTypeName这个字段
     */
    val dictGenSuffix: String = "Name",
)